home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_3.5 / Include / include_h / pragmas / diskfont_pragmas.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-20  |  2.2 KB  |  68 lines

  1. #ifndef PRAGMAS_DISKFONT_PRAGMAS_H
  2. #define PRAGMAS_DISKFONT_PRAGMAS_H
  3.  
  4. /*
  5. **    $VER: diskfont_pragmas.h 36.1 (1.5.1990)
  6. **    Includes Release 44.1
  7. **
  8. **    Direct ROM interface (pragma) definitions.
  9. **
  10. **    Copyright © 1999 Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #if defined(LATTICE) || defined(__SASC) || defined(_DCC)
  15. #ifndef __CLIB_PRAGMA_LIBCALL
  16. #define __CLIB_PRAGMA_LIBCALL
  17. #endif /* __CLIB_PRAGMA_LIBCALL */
  18. #else /* __MAXON__, __STORM__ or AZTEC_C */
  19. #ifndef __CLIB_PRAGMA_AMICALL
  20. #define __CLIB_PRAGMA_AMICALL
  21. #endif /* __CLIB_PRAGMA_AMICALL */
  22. #endif /* */
  23.  
  24. #if defined(__SASC) || defined(__STORM__)
  25. #ifndef __CLIB_PRAGMA_TAGCALL
  26. #define __CLIB_PRAGMA_TAGCALL
  27. #endif /* __CLIB_PRAGMA_TAGCALL */
  28. #endif /* __MAXON__, __STORM__ or AZTEC_C */
  29.  
  30. #ifndef CLIB_DISKFONT_PROTOS_H
  31. #include <clib/diskfont_protos.h>
  32. #endif /* CLIB_DISKFONT_PROTOS_H */
  33.  
  34. #ifdef __CLIB_PRAGMA_LIBCALL
  35.  #pragma libcall DiskfontBase OpenDiskFont 1e 801
  36. #endif /* __CLIB_PRAGMA_LIBCALL */
  37. #ifdef __CLIB_PRAGMA_AMICALL
  38.  #pragma amicall(DiskfontBase, 0x1e, OpenDiskFont(a0))
  39. #endif /* __CLIB_PRAGMA_AMICALL */
  40. #ifdef __CLIB_PRAGMA_LIBCALL
  41.  #pragma libcall DiskfontBase AvailFonts 24 10803
  42. #endif /* __CLIB_PRAGMA_LIBCALL */
  43. #ifdef __CLIB_PRAGMA_AMICALL
  44.  #pragma amicall(DiskfontBase, 0x24, AvailFonts(a0,d0,d1))
  45. #endif /* __CLIB_PRAGMA_AMICALL */
  46. /*--- functions in V34 or higher (Release 1.3) ---*/
  47. #ifdef __CLIB_PRAGMA_LIBCALL
  48.  #pragma libcall DiskfontBase NewFontContents 2a 9802
  49. #endif /* __CLIB_PRAGMA_LIBCALL */
  50. #ifdef __CLIB_PRAGMA_AMICALL
  51.  #pragma amicall(DiskfontBase, 0x2a, NewFontContents(a0,a1))
  52. #endif /* __CLIB_PRAGMA_AMICALL */
  53. #ifdef __CLIB_PRAGMA_LIBCALL
  54.  #pragma libcall DiskfontBase DisposeFontContents 30 901
  55. #endif /* __CLIB_PRAGMA_LIBCALL */
  56. #ifdef __CLIB_PRAGMA_AMICALL
  57.  #pragma amicall(DiskfontBase, 0x30, DisposeFontContents(a1))
  58. #endif /* __CLIB_PRAGMA_AMICALL */
  59. /*--- functions in V36 or higher (Release 2.0) ---*/
  60. #ifdef __CLIB_PRAGMA_LIBCALL
  61.  #pragma libcall DiskfontBase NewScaledDiskFont 36 9802
  62. #endif /* __CLIB_PRAGMA_LIBCALL */
  63. #ifdef __CLIB_PRAGMA_AMICALL
  64.  #pragma amicall(DiskfontBase, 0x36, NewScaledDiskFont(a0,a1))
  65. #endif /* __CLIB_PRAGMA_AMICALL */
  66.  
  67. #endif /* PRAGMAS_DISKFONT_PRAGMAS_H */
  68.